import axios from 'axios';

// const BASE_URL = 'http://web.woniulab.com:8002';

const rolesAPIs = {
  findRoles() {
    return axios({
      url: '/roles/findRoles',
      method: 'GET',
    });
  },
  addAuth(data) {
    return axios({
      url: '/roles/addAuth',
      method: 'POST',
      data,
    });
  },
};
export default rolesAPIs;
